export default {
  /**
   * 获取浏览器可视区域宽高方法
   * @return {Object}
   */
  getClientWH() {
    const w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
    const h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
    return { width: w, height: h };
  }
}
